<template>
    <span>
        <div v-if="clientsBriefData[client_id]">
            <div>{{ clientsBriefData[client_id] }}<span style="font-size: 10px;color:#aaa;margin-left: 5px;">{{ client_id }}</span></div>
        </div>
        <div v-else>{{ client_id }}</div>
    </span>
</template>

<script>
import { mapGetters } from 'vuex';

export default {
    name: "ClientLabel",
    props: {
        client_id: String
    },
    computed: {
        ...mapGetters(['clientsBriefData']),
    },
}
</script>